package org.example.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class Test {


    @RequestMapping("/home")
    @ResponseBody
    public String home() {
        System.out.println("请求进入");
        return "Home Page";
    }
}
